import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'
// 导入element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import Antd from 'ant-design-vue';

import App from './App.vue'
import router from './router'

const app = createApp(App)
app.use(ElementPlus, {
    locale: zhCn, // 配置中文
  })
app.use(createPinia())
app.use(router)
app.use(Antd);
// 全局注册组件 


app.mount('#app')
